package com.app.mapper;


import com.app.model.UserModel;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

@Mapper
@Component
public interface UserMapper  extends BaseMapper<UserModel> {
    /**
     * 根据城市查询用户注册次数
     *
     * @param city 城市
     * @return {@link Integer}
     */
    Integer queryRegCount(@Param("city") String city);

}
